﻿@{
    ViewData["Title"] = "平台业务参数设置表(树)创建界面";
    Layout = null;
    ViewFWUser currentUserInfo = base.Context.Session.GetUserInfo();
}

<input type="hidden" id="uuid" name="id">
<input type="hidden" name="bizParamType">
<input type="hidden" name="bizParamScopeGUID">

<div data-toggle="topjui-layout" data-options="fit:true">
    <div data-options="region:'center',title:'',fit:true,border:false,bodyCls:'border_right_bottom'">
        <div data-toggle="topjui-tabs" data-options="fit:true,border:false">
            <div title="@L("基本信息")" data-options="iconCls:'fa fa-th'">
                <div class="topjui-fluid">
                    <fieldset>
                        <legend>@L("基本信息")</legend>
                    </fieldset>

                    <div class="topjui-row" id="divMyFormParentGUID">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("父级")</label>
                            <div class="topjui-input-block">
                                <input type="text" name="parentGUID" id="myFormParentGUID" data-toggle="topjui-combotreegrid"
                                       data-options="required:false,
                                   columns:[[
                                       {field:'text',title:'@L("名称")',width:100}
                                   ]],
                                    url:'/api/services/app/TreeGrid/GetTreeGird?viewName=View_CF_BizParamSet&nodeName=BizParamSetName',
                                   expandUrl:'/api/services/app/TreeGrid/GetTreeGird?pid={id}&viewName=View_CF_BizParamSet&nodeName=BizParamSetName',
                                   getFatherIdsUrl:'/api/services/app/TreeGrid/GetFatherIds?id={id}&viewName=View_CF_BizParamSet&nodeName=BizParamSetName'
                                   ">
                            </div>
                        </div>
                    </div>

                    @*<div class="topjui-row">
                            <div class="topjui-col-sm12">
                                <label class="topjui-form-label"> @L("字典类型对应的公司的话就是公司的")</label>
                                <div class="topjui-input-block">
                                    <input type="hidden" id="myFormbizParamScopeName" name="bizParamScopeName" />
                                    <input id="myFormBizParamScopeGUID" type="text" name="bizParamScopeGUID" data-toggle="topjui-combobox"
                                           data-options="required:false,
                                    editable: true,
                                    valueField:'id',
                                    textField:'text',
                                    loader: $.loader.comboxLoader,
                                    mode: 'remote',
                                    queryParams:
                                    {
                                        viewName:'View_FW_bizParamScope',
                                        comBoxValueName:'bizParamScopeName',
                                        initQuery:$('#myFormbizParamScopeName').val()
                                    }">
                                </div>
                            </div>
                        </div>*@

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("参数的名称")</label>
                            <div class="topjui-input-block">
                                <input id="myFormBizParamSetName" type="text" name="bizParamSetName" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("参数的URL")</label>
                            <div class="topjui-input-block">
                                <input id="myFormBizParamURL" type="text" name="bizParamURL" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("参数的Code")</label>
                            <div class="topjui-input-block">
                                <input id="myFormBizParamCode" type="text" name="bizParamCode" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    @*<div class="topjui-row">
                            <div class="topjui-col-sm12">
                                <label class="topjui-form-label">@L("参数类型(1,集团;2,公司)")</label>
                                <div class="topjui-input-block">
                                    <input type="text" name="bizParamType" id="myFormBizParamType"
                                           data-toggle="topjui-combobox"
                                           data-options="
                                   valueField:'value',
                                   url:'/api/services/app/Enum/GetEnumArray',
                                   queryParams:{'enumTypeName':'FWBizParamSetBizParamTypeEnum','module':'FW'},
                                            ">
                                </div>
                            </div>
                        </div>*@

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("是否是配置类参数")</label>
                            <div class="topjui-input-block">
                                <div data-toggle="topjui-radio">
                                    <input id="myFormBizParamIsConfig1" type="radio" name="bizParamIsConfig" value="1" label="@L("是")">
                                    <input id="myFormBizParamIsConfig2" type="radio" name="bizParamIsConfig" value="0" label="@L("否")" checked="checked">
                                </div>
                            </div>
                        </div>
                    </div>

                    @*<div class="topjui-row">
                            <div class="topjui-col-sm12">
                                <label class="topjui-form-label">@L("是否为系统级")</label>
                                <div class="topjui-input-block">
                                    <div data-toggle="topjui-radio">
                                        <input id="myFormBizParamIsSystem1" type="radio" name="bizParamIsSystem" value="1" label="@L("是")">
                                        <input id="myFormBizParamIsSystem2" type="radio" name="bizParamIsSystem" value="0" label="@L("否")" checked="checked">
                                    </div>
                                </div>
                            </div>
                        </div>*@

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("是否禁用")</label>
                            <div class="topjui-input-block">
                                <div data-toggle="topjui-radio">
                                    <input id="myFormBizParamIsDisable1" type="radio" name="bizParamIsDisable" value="1" label="@L("是")">
                                    <input id="myFormBizParamIsDisable2" type="radio" name="bizParamIsDisable" value="0" label="@L("否")" checked="checked">
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("是否是多级")</label>
                            <div class="topjui-input-block">
                                <div data-toggle="topjui-radio">
                                    <input id="myFormBizParamIsMutilLevel1" type="radio" name="bizParamIsMutilLevel" value="1" label="@L("是")">
                                    <input id="myFormBizParamIsMutilLevel2" type="radio" name="bizParamIsMutilLevel" value="0" label="@L("否")" checked="checked">
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("树形的排序编码")</label>
                            <div class="topjui-input-block">
                                <input id="myFormOrderCode" type="text" name="orderCode" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("对应的图标")</label>
                            <div class="topjui-input-block">
                                <input id="myFormIcon" type="text" name="icon" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>


                </div>
            </div>
            @*<div title="@L("选填信息")" data-options="iconCls:'fa fa-th'">
                    <div class="topjui-fluid">
                        <fieldset>
                            <legend>@L("扩展消息")</legend>
                        </fieldset>
                    </div>
                </div>*@
        </div>
    </div>
</div>
